package com.yc.cloud.openai.portal.utils;

import lombok.extern.slf4j.Slf4j;
import lombok.val;

import java.util.UUID;

@Slf4j
public class OpenAiUtils {

    /**
     * 获取客户端ID
     *
     * @return 客户端ID
     */
    public static String generateClientId() {
       // return "17414e84-2da3-4d80-99a0-7fa940d86700".replace("-", "");
        return UUID.randomUUID().toString().replaceAll("-", "");
    }


    public static void main(String[] args) {
        val clientId = UUID.randomUUID().toString();
        log.info("客户端ID: {}", clientId.length());
    }

    // 获取 JSON 文件的路径

}
